﻿//-----------------------------------------------------------------------
// <copyright file="CarrierInfoEntity.cs" company="SLWY Enterprises">
// * Copyright (C) 2017 四川商旅无忧科技有限公司 版权所有。
// * version : 1.0
// * author  : qinchaoyue
// * FileName: CarrierInfoEntity.cs
// * history : created by qinchaoyue 2018-01-04 11:25:47
// </copyright>
//-----------------------------------------------------------------------

using System;
using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace Slwy.Core.Entities
{
    [SugarTable("CarrierInfo")]
    public class CarrierInfo
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int KeyId { get; set; }

        /// <summary>
        /// 承运人编码
        /// </summary>
        public string CarrierCode { get; set; } = string.Empty;

        /// <summary>
        /// 承运人简称
        /// </summary>
        public string CarrierShortName { get; set; } = string.Empty;

        /// <summary>
        /// 承运人名称
        /// </summary>
        public string CarrierName { get; set; } = string.Empty;

        /// <summary>
        /// 承运人介绍
        /// </summary>
        public string CarrierNameDescribe { get; set; } = string.Empty;

        /// <summary>
        /// 结算代码
        /// </summary>
        public string SettleCode { get; set; } = string.Empty;

        /// <summary>
        /// 所属国家类别
        /// </summary>
        public int CountryType { get; set; }

        /// <summary>
        /// 所属国家类别名称
        /// </summary>
        public string CountryTypeName { get; set; } = string.Empty;

        /// <summary>
        /// 有效期开始
        /// </summary>
        public DateTime EffectiveStartTime { get; set; }

        /// <summary>
        /// 有效期结束
        /// </summary>
        public DateTime EffectiveEndTime { get; set; }

        /// <summary>
        /// 是否有效
        /// </summary>
        public int IsValid { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public string AddUser { get; set; } = string.Empty;

        /// <summary>
        /// 修改人
        /// </summary>
        public string ModifyUser { get; set; } = string.Empty;

        /// <summary>
        /// 航司热度
        /// </summary>
        public int Heat { get; set; } = 0;

        /// <summary>
        /// 航司热度
        /// </summary>
        public int CarrierHeat { get; set; } = 0;

        /// <summary>
        /// 值机地址
        /// </summary>
        public string CheckInAddress { get; set; } = string.Empty;

        /// <summary>
        /// 航司拼音
        /// </summary>
        public string CarrierPinYin { get; set; } = string.Empty;
    }
}
